import request from "@/utils/request";
import type { GetRolePermissionListApiResponse } from "./type/roleType";
const enum Api {
  getPermissionList = "/admin/acl/permission",
}

// 添加角色
export const getPermissionListApi = () => {
  return request.get<any, GetRolePermissionListApiResponse>(
    Api.getPermissionList
  );
};
